#pragma once
#include "approximant.h"
#include "TaylorSeries.h"
#include "Polynomial.h"

class Pade :
	public Approximant
{
public:
	Pade(shared_ptr<TaylorSeries> pSeries);
	~Pade(void);

	virtual void build(unsigned int n);
	virtual double evaluate(double x);

private:
	Polynomial _numerator;
	Polynomial _denominator;
};

